Repository navigation
Internal: parallel test workers, CI without workloads and rebuilds - #216
Open
StackEnjoyer wants to merge 4 commits into
Open
StackEnjoyer wants to merge 4 commits into
StackEnjoyer wants to merge 4 commits into
Conversation
test/runtests.jl uses ParallelTestRunner.jl: every test file under test/ is found automatically and runs in a worker process, longest first, with its duration printed. Rendering/TestRenderErrors runs in a fresh worker that never loaded Makie. Locally with 4 workers: 4:54 instead of 9:00 without flags, 6:36 instead of 14:40 with the CI coverage and bounds-check flags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #216 +/- ##
==========================================
- Coverage 92.21% 92.20% -0.02%
==========================================
Files 85 85
Lines 4421 4413 -8
==========================================
- Hits 4077 4069 -8
Misses 344 344 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The test job runs test/runtests.jl directly instead of julia-runtest: coverage and --check-bounds=yes only on the Julia 1 job, since each set of flags needs its own build of all dependencies (485 s on the 1.12 job of #216), and precompilation as a step of its own. CI sets the preference precompile_workload of BMO, which the workload of the Makie extension now reads as well, since PrecompileTools does not find it for an extension. The test step puts test/ on JULIA_LOAD_PATH, such that the preference also holds in the environment in which Aqua precompiles the package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
Author
|
Agent review, round 1: approve · 0 blocker, 0 should, 1 nit, 2 note · merges cleanly, 15951/15951 tests pass locally (4 workers, 2m08) Full review for agents (3 findings)Scope
Verified
FindingsF1 · nit ·
|
Owner
Author
|
Since I am messing around with the testsets you should have a look too @TacHawkes |
The Julia 1 job compiled all dependencies again in every run (407 s in the re-run of #216), since what was precompiled under --code-coverage did not survive in its cache. The precompile step now runs with --check-bounds=yes only, and the coverage flag goes to the test step alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An existing workspace Manifest.toml that predates a new test dependency makes Pkg.instantiate fail (review of #216, F1). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TacHawkes
approved these changes
Nov 3, 2026
TacHawkes
left a comment
Collaborator
There was a problem hiding this comment.
I am not experienced with the parallel tests but seems like a good change. I also like that tests are auto-discovered now.
Owner
Author
|
Changes in runtime are not as amazing here as I hoped. This does not need to go in 0.14.0 |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Doc changes
--jobs=N, rules for new test files, CI flagsInternal changes
Rendering/TestRenderErrorsruns in a fresh worker that never loaded Makie--check-bounds=yeson the Julia 1 job only, precompilation as a step of its ownCloses #215